package com.guigu.health.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @ClassName:UserRolePermission
 * @Description:用户角色权限类
 * @Author:longtao
 * @Date:2021/4/9
 * @Version:1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Component
public class UserRolePermission implements Serializable {
    /**
     * 用户名
     */
    private String userName;
    /**
     * 角色名
     */
    private String roleName;
    /**
     * 权限名
     */
    private String permissionName;
    /**
     * 权限关键字
     */
    private String permissionKeyWord;
}
